package com.example.othree.common;

import org.apache.commons.lang3.RandomStringUtils;

import java.util.Random;

public class CodeUtils {
    /**
     *获取长度为length的随机纯数字
     */
    public static final String getRandomNumber(Integer length) {
        return RandomStringUtils.random(length, false, true);
    }
}
